<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>马昌进送水后台管理系统</title>
    <!--Bootstrap固定框架-->
    <link rel='stylesheet' th:href="@{/webjars/bootstrap/3.3.7/css/bootstrap.css}">
    <link rel='stylesheet' th:href="@{/webjars/bootstrap/3.3.7/css/bootstrap-theme.css}">
    <!--图标库-->
    <link rel='stylesheet' th:href='@{/css/material-design-iconic-font.min.css}'>
    <!--核心样式-->
    <link rel="stylesheet" th:href="@{/css/style.css}">
</head>
<body>
<div id="viewport">
    <!-- Sidebar -->
    <div id="sidebar" th:replace="waterMainMenu::sidebar">
    </div>
    <!-- Content -->
    <div id="content">
        <nav class="navbar navbar-default" th:replace="waterMainMenu::navbar">
        </nav>
        <div class="container-fluid">
            <div class="row">
                <div class="col-md-12">
                    <form class="form-horizontal" method="post" th:action="@{/account/pwdUp}" >
                        <div class="form-group">
                            <label  class="col-sm-2 control-label">当前用户</label>
                            <div class="col-sm-5">
                                <p style="color:red;font-size: 35px"
                                   th:if="${not #strings.isEmpty(uName)}"
                                   th:text="${uName}"></p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-sm-2 control-label">旧密码</label>
                            <div class="col-sm-5">
                                <input type="password" class="form-control" name="userPwd"  placeholder="旧密码">
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-sm-2 control-label">新密码</label>
                            <div class="col-sm-5">
                                <input type="password" class="form-control" name="newPwd"  placeholder="新密码">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-5">
                                <input type="submit" class="btn btn-primary" name="submit"  value="提交">
                                &nbsp;&nbsp;
                                <input type="reset" class="btn btn-warning" name="reset"  value="取消">
                            </div>
                        </div>
                    </form>
                    <p style="color:red"
                       th:if="${not #strings.isEmpty(loginFail)}"
                       th:text="${loginFail}">
                    </p>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
</body>
</html>